package com.bbt.dormassistant.entity;

import org.springframework.lang.NonNull;

import java.util.Map;

public class Question{

    private Integer number;

    private String describe;

    @NonNull
    private Map<String, Integer> choices ;

    //是否为多选题
    private Boolean multi;


    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }


    public Map<String, Integer> getChoices() {
        return choices;
    }

    public void setChoices(Map<String, Integer> choices) {
        this.choices = choices;
    }


    public Boolean getMulti() {
        return multi;
    }

    public void setMulti(Boolean multi) {
        this.multi = multi;
    }
}